

<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    {{js_resources|safe}}
        {{css_resources|safe}}
    <link rel="icon" href="../static/man.png">
    <link rel="canonical" href="https://getbootstrap.com/docs/3.4/examples/dashboard/">

    <title>疫情数据收集统计</title>

    <!-- Bootstrap core CSS -->
    <link href="../static/index.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.37/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="../static/index2.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.37/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.37/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">疫情数据收集统计</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
            <li style="margin-left: 100px"><a href="#">数据更新时间：{{update_time|safe}}</a></li>
          </ul>
          <!-- <form class="navbar-form navbar-right">
            <input type="text" class="form-control" placeholder="Search...">
          </form> -->
        </div>
      </div>
    </nav>

    <div class="container-fluid">
    <form  method="POST" action="{{ url_for('index') }}">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
                  <ul class="nav nav-sidebar">
            <li class="{{a}}" style="font-size: 30px; text-align: center;">国内疫情现状</li>
            </ul>
          <ul class="nav nav-sidebar">
            <li class="{{a}}" style="font-size: 30px"><a href="/rl" onclick="btn()">疫情全国分布</a></li>
            </ul>
                  <ul class="nav nav-sidebar">
            <li class="{{b}}" style="font-size: 30px"><a href="/wzz" onclick="btn()">我国新增新冠无症状患者人数</a></li>
            </ul>
                  <ul class="nav nav-sidebar">
            <li class="{{c}}" style="font-size: 30px"><a href="/qz" onclick="btn()">我国新增新冠确诊患者人数</a></li>
          </ul>
                    <ul class="nav nav-sidebar">
            <li class="{{f}}" style="font-size: 30px"><a href="/db1" onclick="btn()">我国无症状与确诊人数对比</a></li>
          </ul>
                              <ul class="nav nav-sidebar">
            <li class="{{j}}" style="font-size: 30px"><a href="/jw" onclick="btn()">我国境外病例输入情况</a></li>
          </ul>
          <ul class="nav nav-sidebar">
            <li class="{{d}}" style="font-size: 30px"><a href="/sw" onclick="btn()">我国新增新冠死亡人数</a></li>
            </ul>
                <ul class="nav nav-sidebar">
            <li class="{{e}}" style="font-size: 30px"><a href="/kanfu" onclick="btn()">我国新增新冠康复人数</a></li>
            </ul>
                                       <ul class="nav nav-sidebar">
            <li class="{{a}}" style="font-size: 30px; text-align: center;">我国疫情趋势</li>
            </ul>
                        <ul class="nav nav-sidebar">
            <li class="{{q}} "style="font-size: 30px"><a href="/bar">我国疫情趋势</a></li>
          </ul>
                            <ul class="nav nav-sidebar">
            <li class="{{a}}" style="font-size: 30px; text-align: center;">国外疫情现状</li>
            </ul>
            <ul class="nav nav-sidebar">
            <li class="{{t}}" style="font-size: 30px"><a href="/five">累计确诊患者数量前15的国家</a></li>
          </ul>
          <ul class="nav nav-sidebar">
            <li class="{{g}}" style="font-size: 30px"><a href="/rose">单日新增患者人数前10的国家</a></li>
          </ul>
                            <ul class="nav nav-sidebar">
            <li class="{{a}}" style="font-size: 30px; text-align: center;">疫苗数据整合</li>
            </ul>
            <ul class="nav nav-sidebar">
            <li class="{{h}}" style="font-size: 30px"><a href="/vaccine">已接种疫苗数量（国家）</a></li>
            </ul>
            <ul class="nav nav-sidebar">
            <li class="{{i}}" style="font-size: 30px"><a href="/v2">疫苗数据整合统计</a></li>
          </ul>
                                     <ul class="nav nav-sidebar">
            <li class="{{a}}" style="font-size: 30px; text-align: center;">探讨</li>
            </ul>
                        <ul class="nav nav-sidebar">
            <li class="{{p}}" style="font-size: 30px"><a href="/p">疫情与人口</a></li>
          </ul>
        </div>
        </form>
        <div style="margin-left: 600px">
        {{rl|safe}}
          {{plot_script|safe}}
        {{plot_div|safe}}
        </div>

          <h2 class="sub-header">Section title</h2>

          <div class="table-responsive">
          <div style="margin-left: 600px">
          <table>
                      <div style="font-size: 40px">{{wz|safe}}</div>
            
                          <!-- {{df|safe}} -->
                          {% block table %}
<table  class="table table-striped">
    <tr>
        {% for title in the_titles %}           
            <th>{{title}}</th>
        {% endfor %}
    </tr>
    {% for content in the_contents %}  
        <tr>
            {% for item in content %}
                <td>{{item}}</td>
            {% endfor %}
        </tr>
    {% endfor %}
</table>
{% endblock %}

          </div>
          </div>
        </div>
      </div>
    </div>

<script>
document.getElementById('btn').onclick = function () {
        document.getElementById('btn').style.background = 'red';
      }

</script>



    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://fastly.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
    <script>window.jQuery || document.write('<script src="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.37/assets/js/vendor/jquery.min.js"><\/script>')</script>
    <script src="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.37/dist/js/bootstrap.min.js"></script>
    <!-- Just to make our placeholder images work. Don't actually copy the next line! -->
    <script src="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.37/assets/js/vendor/holder.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.37/assets/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>

